package Tk02;

public class Test1 {
    public static void main(String args[]){
        TicketHouse ticketHouse=new TicketHouse();
        Thread zhang=new Thread(ticketHouse);
        Thread Li=new Thread(ticketHouse);
        zhang.setName("张飞");
        Li.setName("李逵");
        zhang.start();
        Li.start();
    }
}
